package com.zr.lads.dao;

import java.util.List;

import com.zr.lads.pojo.Line;

/**
 * @author Administrator
 *
 * @param <T>
 */

public interface LineDao<T> extends BaseDao<T>{
/**
 * 
 * @param lineId
 * @param searchname
 * @return
 */
public int findlinecountsbylineid();

/**
 * 
 * @param lineId
 * @param page
 * @param rows
 * @param searchname
 * @return
 */
public List<Line> findlinesbylineid(int page,int rows);

/**
 * 
 * @param l
 * @return
 */


public boolean addlines(Line l);

/**
 * 
 * @param lineId
 * @param lineName
 * @param beginPoint
 * @param endPoint
 * @return
 */
public boolean  updatelines(int lineId,String lineName,String beginPoint,String endPoint);
/**
 * 
 * @param lines
 * @return
 */
public boolean  deletelines(String lineIds);
}
